package com.fan.analysis.module.analysis.group.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fan.analysis.module.analysis.group.domain.entity.UserInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用户群体识别操作数据库dao
 *
 * @author fan
 * @date 2021/09/23 21:38
 **/
@Component
@Mapper
public interface UserGroupDao extends BaseMapper<UserInfoEntity> {

    /**
     * 获取群体中的用户信息
     *
     * @param groupId 群体id
     * @return 返回群体中的用户
     */
    List<UserInfoEntity> listGroupUserInfos(@Param("groupId") String groupId);

}
